package project5;

public class Car extends Vehicle {
    private int loader;

    public Car() {
    }

    public Car(String brand, String color, int loader) {
        super(brand, color);
        this.loader = loader;
    }
    public void run()
    {
        super.run();
        System.out.println("轿车正在奔跑；");
    }

    public int getLoader() {
        return loader;
    }
}
